import request from '@/utils/request'

// 查询反馈单列表
export function listTickingform(query) {
  return request({
    url: '/system/tickingform/list',
    method: 'get',
    params: query
  })
}

// 查询反馈单详细
export function getTickingform(srvTfcode) {
  return request({
    url: '/system/tickingform/' + srvTfcode,
    method: 'get'
  })
}

// 新增反馈单
export function addTickingform(data) {
  return request({
    url: '/system/tickingform',
    method: 'post',
    data: data
  })
}

// 修改反馈单
export function updateTickingform(data) {
  return request({
    url: '/system/tickingform',
    method: 'put',
    data: data
  })
}

// 删除反馈单
export function delTickingform(srvTfcode) {
  return request({
    url: '/system/tickingform/' + srvTfcode,
    method: 'delete'
  })
}
